import { ipcMain } from 'electron'

export const ipcInit = (win) => {
  ipcMain.handle('print:getPrintList', () => {
    return win.webContents.getPrintersAsync()
  })
}
